ListObservable class¶
Attributes: [DefaultMember("Item")] [Experimental]
Defined in
Namespace: System.Reactive
Assembly: System.Reactive.dll
Full name: System.Reactive.ListObservable<T>
Modifiers: public
Summary¶
Represents an object that retains the elements of the observable sequence and signals the end of the sequence.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class ListObservable~T~
class IList~T~ {
<>
}
IList~T~ <|.. ListObservable~T~
class ICollection~T~ {
<>
}
ICollection~T~ <|.. ListObservable~T~
class IEnumerable~T~ {
<>
}
IEnumerable~T~ <|.. ListObservable~T~
class IEnumerable {
<>
}
IEnumerable <|.. ListObservable~T~
class IObservable~object~ {
<>
}
IObservable~object~ <|.. ListObservable~T~
Implements: IList
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Constructs an object that retains the values of source and signals the end of the sequence. |
Properties¶
| Name | Summary |
|---|---|
| Value | Returns the last value of the observable sequence. |
| this[] | Gets or sets the element at the specified index. |
| Count | Gets the number of elements contained in the ListObservable. |
| IsReadOnly | Gets a value that indicates whether the ListObservable is read-only. |
Methods¶
| Name | Summary |
|---|---|
| IndexOf | Determines the index of a specific item in the ListObservable. |
| Insert | Inserts an item to the ListObservable at the specified index. |
| RemoveAt | Removes the ListObservable item at the specified index. |
| Add | Adds an item to the ListObservable. |
| Clear | Removes all items from the ListObservable. |
| Contains | Determines whether the ListObservable contains a specific value. |
| CopyTo | Copies the elements of the ListObservable to an System.Array, starting at a particular System.Array index. |
| Remove | Removes the first occurrence of a specific object from the ListObservable. |
| GetEnumerator | Returns an enumerator that iterates through the collection. |
| Subscribe | Subscribes an observer to the ListObservable which will be notified upon completion. |